from rest_framework_jwt.settings import api_settings
from rest_framework import serializers
from Zhou_Kao.models import *
# from md_shop.models import UresReg


class CLsrt(serializers.ModelSerializer):
    class Meta:
        model = Googs
        fields = "__all__"


class CSser(serializers.ModelSerializer):
    class Meta:
        model = Category
        fields = "__all__"

class YxStr(serializers.ModelSerializer):
    class Meta:
        model = YxRres
        fields = "__all__"

class UsStr(serializers.ModelSerializer):
    class Meta:
        model = UserRest
        fields = "__all__"

class UsHStr(serializers.ModelSerializer):
    class Meta:
        model = UserH
        fields = "__all__"


class RegRes(serializers.ModelSerializer):
    class Meta:
        model = RegIon
        fields = "__all__"


class BookRES(serializers.ModelSerializer):
    class Meta:
        model = Book
        fields = "__all__"

class BssRES(serializers.ModelSerializer):
    class Meta:
        model = Bsst
        fields = "__all__"

class AssRES(serializers.ModelSerializer):
    class Meta:
        model = Ass
        fields = "__all__"



class BKbookSRE(serializers.ModelSerializer):
    class Meta:
        model = BKbook
        fields = "__all__"


class   AUthSRE(serializers.ModelSerializer):
    class Meta:
        model = AUth
        fields = "__all__"

class TuPianres(serializers.ModelSerializer):
    class Meta:
        model = TuPian
        fields = "__all__"

class BookRer1(serializers.ModelSerializer):
    class Meta:
        model = BookS
        fields = "__all__"






